﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LapvBussiness;

namespace LapvWeb
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        public string domainStyle = ConfigLapv.Instance.DomainStyle;
        public string domain = ConfigLapv.Instance.DomainAdmin;
        protected void Page_Init(object sender, EventArgs e)
        {
            LtStyles.Text = @"<link rel=""shortcut icon"" type=""image/x-icon"" href=""" + domainStyle + @"Imgs/logo.ico"" />"
                             + @"<link rel=""image_src"" href=""" + domainStyle + @"Imgs/logo.png"" />"
                             + @"<link rel=""stylesheet"" type=""text/css"" href=""" + domainStyle + @"Css/Skin.css""  />"
                             + @"<link rel=""stylesheet"" type=""text/css"" href=""" + domainStyle + @"Css/Form.css""   /> "
                             + @"<link rel=""stylesheet"" type=""text/css"" href=""" + domainStyle + @"Css/Styles.css""  />"


                             + @"<script type=""text/javascript"" src=""" + domainStyle + @"js/jquery-1.8.2.min.js""></script>  "
                             + @"<script type=""text/javascript"" src=""" + domainStyle + @"js/skin.js"" ></script> "
                             + @"<script type=""text/javascript""> var domain = "+ domain +@";  var domainStyle ="+ domainStyle + @"</script> ";

        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
